home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1996 / MacHack 1996.toast / Hacks / Hacks ’92 / NotificationMon ƒ / NotificationMon.ƒ / Source / NotificationReset.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-22  |  234 b   |  12 lines  |  [TEXT/KAHL]

  1. #include"NotificationMon.h"
  2.  
  3. void DoNotificationReset()
  4. {
  5.     short    itemHit;
  6.     
  7.     ParamText("\pAre you sure you want to remove all Notifications?",nil,nil,nil);
  8.     itemHit = Alert(500,nil);
  9.     if(itemHit == 1)
  10.         KillNotifications(MainView);
  11.  
  12. }